package cn.shen.dao.service;

import cn.shen.dao.entity.Video;
import cn.shen.dao.mapper.VideoMapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
public class VideoService extends ServiceImpl<VideoMapper, Video> {
    @Autowired
    VideoMapper videoMapper;

    public void example(){
        baseMapper.selectList(new LambdaQueryWrapper<Video>());
    }

    public void test1(){
        videoMapper.selectList(new LambdaQueryWrapper<>());
    }

}
